package us.wili.dev.client.model.rsp;

import io.swagger.annotations.ApiModelProperty;
import us.wili.dev.model.entity.Company;

public class CompanyRsp {
    @ApiModelProperty(value="公司logo")
    private String logo;

    @ApiModelProperty(value="公司名称")
    private String name;

    @ApiModelProperty(value="公司简介")
    private String simple;

    @ApiModelProperty(value="公司电话")
    private String phone;

    @ApiModelProperty(value="公司微信")
    private String wx;

    @ApiModelProperty(value="公司地址")
    private String address;

    @ApiModelProperty(value="公司详细介绍")
    private String introduce;

    public static CompanyRsp company(Company company){
        CompanyRsp rsp =new CompanyRsp();
        rsp.setLogo(company.getLogo());
        rsp.setName(company.getName());
        rsp.setSimple(company.getSimple());
        rsp.setIntroduce(company.getIntroduce());
        return rsp;
    }

    public static CompanyRsp contactus(Company company){
        CompanyRsp rsp =new CompanyRsp();
        rsp.setWx(company.getWx());
        rsp.setName(company.getName());
        rsp.setSimple(company.getSimple());
        rsp.setPhone(company.getPhone());
        rsp.setAddress(company.getAddress());
        return rsp;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSimple() {
        return simple;
    }

    public void setSimple(String simple) {
        this.simple = simple;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
}
